package com.woniuxy.project115.kaer.mall.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.math.BigDecimal;
@ApiModel
@Data
public class AddProductForm {
    @ApiModelProperty("商品名称")
    private String productName;
    @ApiModelProperty("商品展示名称")
    private String productShowname;
    @ApiModelProperty("商品品牌")
    private String productBrand;
    @ApiModelProperty("商品描述")
    private String productDescription;
    @ApiModelProperty("商品图片")
    private MultipartFile productImage;
    @ApiModelProperty("商品类别id")
    private Integer typeId;
    @ApiModelProperty("商品类别名称")
    private String typeName;
    @ApiModelProperty("商品价格")
    private BigDecimal productPrice;
    @ApiModelProperty("商品库存")
    private Integer number;
    @ApiModelProperty("商品参数")
    private String args;
}
